/**
 * router.js
 */

const Router = require("koa-router")
const router = new Router()

const webController = require('../controller/web')

router.get('/', webController.renderIndex)
router.get('/login', webController.renderLogin)
router.get('/markdown', webController.renderArticle)
router.get('/post', webController.renderPost)

router.get('/tags',webController.renderTags)
router.get('/articles', webController.renderArticles)
module.exports = router